package com.zsrt.java.day20170113.lh.daily.ch04;

public class FlyCar {
	
	private SwimCar car;
	
	public void SetCar(SwimCar car){
		this.car=car;
	}
	
	public void drive(){
		car.drive();
		fly();
	}

	public  void fly() {
		System.out.println("飞天的车");
	}
	
	

}
